package com.hyopt.common.push.config;

import lombok.extern.slf4j.Slf4j;

import java.util.Arrays;
import java.util.HashSet;

@Slf4j
public class UmAndoridConfig {

    public static HashSet<String> ROOT_KEYS = new HashSet<String>(Arrays.asList(new String[]{
            "appkey",
            "timestamp",
            "type",
            "device_tokens",
            "alias",
            "alias_type",
            "file_id",
            "filter",
            "production_mode",
            "feedback",
            "description",
            "mipush",
            "mi_activity"
    }));


    // Keys can be set in the payload level
    public static HashSet<String> PAYLOAD_KEYS = new HashSet<String>(Arrays.asList(new String[]{
            "display_type",
            "body"
    }));
    // Keys can be set in the body level
    public static HashSet<String> BODY_KEYS = new HashSet<String>(Arrays.asList(new String[]{
            "ticker",
            "title",
            "text",
            "builder_id",
            "icon",
            "largeIcon",
            "img",
            "play_vibrate",
            "play_lights",
            "play_sound",
            "sound",
            "after_open",
            "url",
            "activity",
            "custom"
    }));
    // Keys can be set in the policy level
    public static HashSet<String> POLICY_KEYS = new HashSet<String>(Arrays.asList(new String[]{
            "start_time",
            "expire_time",
            "max_send_num"
    }));




}
